from django.conf.urls import url
from fe_api.sutra import views


urlpatterns = [
    url(r'^list', views.Sutras.as_view()),
    url(r'^(?P<sutra_id>\d+)/detail', views.SutrasDetail.as_view()),
    url(r'^edition/search/hot_words',
        views.SutraEditionSearchHotwords.as_view()),
    url(r'^edition/search', views.SutraEditionSearch.as_view()),
    url(r'^(?P<sutra_id>\d+)/edition/list',
        views.SutraEdition.as_view()),
    url(r'^edition/(?P<edition_id>\d+)/detail',
        views.SutraEditionDetail.as_view()),
    url(r'^edition/(?P<edition_id>\d+)/content',
        views.SutraEditionContent.as_view()),
]
